<?php
return array(
	'detailView' => array(
		'attributes' => array(
			'name',
			array(
				'class' => 'ImageAttribute',
				'name' => 'image',
				'handle' => 'fileSaver'
			),
			array(
				'name' => 'province',
				'value' => Yii::app()->enum->lookup('district', CHtml::value($model, 'province'))
					.' '. Yii::app()->enum->lookup('district', CHtml::value($model, 'city'))
					.' '. Yii::app()->enum->lookup('district', CHtml::value($model, 'district'))
			),
			'address',
			array(
				'name' => 'desc',
				'type' => 'raw',
			)
		),
	),
	'_import' => array(
		array('*', 'actions.view//*'),
	),
)

?>